<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<h1>乘法口诀表</h1>
		 <script type="text/javascript">
		 	document.write("<pre>")
			for(var i=1;i<=9;i++){
				for(var j=1;j<=i;j++){
					document.write(i+"*"+j+"="+i*j+"\t");
				}
				document.write("\n");
			}
			document.write("</pre>")
			
			
			//day02-练习2
			//让用户选择生日的年月日
			//使用循环语句生成select中的选项<option>内容
			//年份1900-2024
			//月份1-12
			//日期1-31
		 </script>
		 <h2>用户信息</h2>
		 <select>
			<script type="text/javascript">
				document.write("<pre>");
				for(var j=1990;j<=2024;j++){
					document.write("<option>");
					document.write(j);
					document.write("</option>");
				}
				document.write("</pre>")	
			</script>
		</select>
		<select>
			<script type="text/javascript">
				document.write("<pre>");
				for(var i=1;i<=12;i++){
					document.write("<option>");
					document.write(i);
					document.write("</option>");
				}
				document.write("</pre>")	
			</script>
		</select>
		<select>
			<script type="text/javascript">
				document.write("<pre>");
				for(var x=1;x<=30;x++){
					document.write("<option>");
					document.write(x);
					document.write("</option>");
				}
				document.write("</pre>")	
			</script>
		</select>
	</body>
</html>
